package com.fhz.a2102shopjava.util;

import android.os.CountDownTimer;
import android.util.Log;

import androidx.lifecycle.Lifecycle;
import androidx.lifecycle.LifecycleObserver;
import androidx.lifecycle.OnLifecycleEvent;

/**
 * 时间:2023/8/14
 *
 * @author Mr.Feng
 * 简述: 广告的工具类
 * 使用观察者
 * 恶汉模式
 */
public class AdvertisingUtil implements LifecycleObserver {
    private static final String TAG = "AdvertisingUtil";
    CountDownTimer countDownTimer;
    private static final AdvertisingUtil advertising = new AdvertisingUtil();

    public static AdvertisingUtil getInstance() {
        return advertising;
    }

    @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
    public void create(){

    }

    @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
    public void destroy(){
    }
}   
